<?php

namespace App\Kuafu\WaiMai\Library;

use ElemeOpenApi\Api\RpcService;

/**
 * 自定义服务
 */
class ElmDefineApi extends RpcService
{

    /** 订单金融信息
     * @param $order_id 订单Id
     * @return mixed
     */
    public function get_finance_order($order_id, $shopId)
    {
        return $this->client->call("eleme.finance.getOrderNew", array("orderId" => $order_id, 'shopId' => $shopId));
    }
}
